<?php


namespace app\validate\api;


class PagingParameter extends BaseValidate
{
    protected $rule = [
        'page'=>'isPositiveInteger',
        'size'=>'isPositiveInteger'
    ];
    protected $message = [
        'page'=>'分页参数必须是正整数',
        'size'=>'分页参数必须是正整数'
    ];
}